<!--
 * @Author: zhayang
 * @LastEditors: zhayang 1063975710@qq.com
 * @Date: 2024-06-16 20:36:38
 * @LastEditTime: 2024-07-03 21:36:56
 * @Description: 输入框
-->
<template>
  <el-input
    placeholder="请输入关键词"
    clearable
    size="small"
    v-bind="$attrs"
    v-on="$listeners"
  >
    <i
      v-if="show"
      slot="suffix"
      class="el-icon-search el-input__icon"
    ></i>
  </el-input>
</template>

<script>
export default {
  props: {
    show: Boolean
  },
  data() {
    return {}
  },
  created() {},
  methods: {}
}
</script>

<style lang="scss" scoped></style>
